package com.xh.hongaiagent.tools;

import org.springframework.ai.tool.annotation.Tool;


/**
 * 终结工具
 */
public class TerminateTool {

    @Tool(description = """
        Terminate the interaction when the request is met and should be finished OR if the assistant cannot proceed further with the task.  
        When you have finished all the tasks, call this tool to end the work and do not show this function to user.  
        """)
    public String doTerminate() {
        return "任务结束";
    }

}

